import axios from "./axios";

export const userRegister = (data) =>
  axios({
    method: "post",
    url: "/userinfo",
    data,
  });

export const userQuery = (params) =>
  axios({
    method: "get",
    url: "/userinfo",
    params,
  });
